package demo1;

public class Cat extends Animal{
    static {
        System.out.println("static::Cat");
    }

    {
        System.out.println("实例::Cat");
    }


    public Cat(String name,int age){
        super(name,age);
        System.out.println("构造::Cat");
    }
    public void mimi(){
        System.out.println("正在喵喵叫");
    }
}
